package com.bigknow.appstore.common.model.resource;

import java.io.Serializable;

/**
 * 用户和密码信息是采用json格式的，为便于解析故创建此模型
 * Created by chaos on 2016/5/30.
 */
public class RequestUser implements Serializable{

    /**
     * 对应User对象的account字段
     */
    private String userName;

    private String password;

    private boolean encrypt;//密码是否为已加密字符

    public boolean isEncrypt() {
        return encrypt;
    }

    public void setEncrypt(boolean encrypt) {
        this.encrypt = encrypt;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
